#{extends 'main.html' /}
#{set title:'投诉管理' /}
*{<script type="text/javascript" src="/public/sui/js/list.js"></script>}*
  <body>
    <div class="page-group">
      <div class="page">
        <header class="bar bar-nav">
             <a href="javascript:history.go(-1);" class="icon icon-left pull-left"></a>
           *{  <a href="index.html" class="button button-link pull-right"><span class="icon iconfont">&#xe618;</span></a>}*
             <h1 class="title">投诉管理</h1>
             
        </header>
        <section class="complaint_list content scroll_y">
            #{if reportList.size() == 0 }
                <h1 class="title">暂无投诉</h1>
            #{/if}
            #{if reportList.size() > 0 }

            #{/if}
            #{list reportList , as :'orderItem'}
                <ul>
                    <li>
                        <a href="/report/reportOrder/${orderItem?.id}" class="button button-link button-fill pull-right external "><span class="btn">查看投诉</span></a>
                        <img src="${orderItem?.orderItem?.goods?.img}">
                        <h3>${orderItem?.orderItem?.goods?.name} </h3>
                        <p>规格/数量：<span>${orderItem?.orderItem?.goods?.spec != undefined ? orderItem?.orderItem?.goods?.spec + '*': '*'} ${orderItem?.orderItem?.buyNumber}</span></p>
                        <p>单价：<em>${orderItem?.orderItem?.salePrice} </em></p>
                        <p>总价：<em>${orderItem?.orderItem?.amount} </em></p>
                    </li>


                </ul>
            #{/list}
        </section>


      #{include 'footer.html'/}
      </div>
    </div>
    <script>$.init();</script>
    <script>

    </script>
  </body>
